﻿using FarmSmartSleep.Common.Dtos;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace FarmSmartSleep.Organ.API.Application.EarsCommands
{
    public class LambEarCreateCommand:IRequest<Result>
    {
        
        /// <summary>
        /// 耳号
        /// </summary>
        public string EarNumber { get; set; }
        /// <summary>
        /// 入库日期
        /// </summary>
        public DateTime? PutInDate { get; set; }
        /// <summary>
        /// 出生状态
        /// </summary>
        public int BrithdayStatusId { get; set; }
        /// <summary>
        /// 对应品种
        /// </summary>
        public int BreedId { get; set; }
        public int CreatId { get; set; }
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 前缀
        /// </summary>
        public string? Prefix { get; set; }
        /// <summary>
        /// 开始序号
        /// </summary>
        public int FieldNumber { get; set; }
        /// <summary>
        /// 生成条数
        /// </summary>
        public int GetNumber { get; set; }

    }
}
